package com.woniuxy.builder;

import lombok.Data;

/**
 * @Author: ideaAdmin
 * TODO: 计算机抽象类
 * Date: 2022/2/15:13:02
 * Description:
 */

public abstract class Computer {
    protected String mBoard;//主板
    protected String mDisplay;//显示器
    protected String mOs;//系统

    public void setmBoard(String mBoard) {
        this.mBoard = mBoard;
    }

    public void setmDisplay(String mDisplay) {
        this.mDisplay = mDisplay;
    }

    public abstract void setmOs( );

    @Override
    public String toString() {
        return "Computer{" +
                "mBoard='" + mBoard + '\'' +
                ", mDisplay='" + mDisplay + '\'' +
                ", mOs='" + mOs + '\'' +
                '}';
    }
}
